import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '@/views/login'
import Layout from '@/views/layout'
Vue.use(VueRouter)

const router = new VueRouter({
  routes:[
    {
      path:'/',
      component:Login
    },{
      path:'/layout',
      component:Layout
    }
  ]
})

export default router
